package com.data.modules.log.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.data.modules.log.entity.WsLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: WS日志
 * @Author: data-boot
 * @Date:   2022-03-07
 * @Version: V1.0
 */
public interface WsLogMapper extends BaseMapper<WsLog> {

    int heartbeatDetection(@Param("deviceId") String deviceId);

    List<String> findData();

    /** 清空表数据
     * @return
     */
    int truncateTable();

}
